;
(function (window, angular) {
    'use strict';
    angular.module("Controller.Report", ["Controller.Report.MaterialStorage", "Controller.Report.SapErrorList", "Controller.Report.SecondHandList", "Controller.Report.SaleOrder",
            "Controller.Report.InventoryFlow", "Controller.Report.LibraryAge","Controller.Report.ProductReport","Controller.Report.BoxUpStagingReport",
            "Controller.Report.DealerArap", "Controller.Report.AccountsReceivableStatistics",
            "Controller.Report.DealerSale", "Controller.Report.InventoryWarning", "Controller.Report.MissNote", "Controller.Report.SupplePlan",
            "Controller.Report.TimeAnalysis", "Controller.Report.Unsold", "Controller.Report.Instruction", "Controller.Report.DealerInOut",
            "Controller.Report.ThreeReport", "Controller.Report.ThreeStatisticsReport","Controller.Report.SaleCompare", "Controller.Report.Indicator", "Controller.Report.PurchaseReport",
            "Controller.Report.InventoryOnWayReport", "Controller.Report.StockAmount", "Controller.Report.PlanningAccuracy", "Controller.Report.Outbound",
            "Controller.Report.SparePartsOrderAccuracy", "Controller.Report.AgentCommodityAmountReport", "Controller.Report.AgentInventoryReport",
            "Controller.Report.AgentTerminalMaterial", "Controller.Report.AgentTerminalOutbound", "Controller.Report.TurnoverRateAnalysis",
            "Controller.Report.ProcurementTimePeriod", "Controller.Report.PurchaseAmountAnalysis", "Controller.Report.MissingReport",
            "Controller.Report.OrderSatisfyRate", "Controller.Report.AgentFinanceReportCostAnaly", "Controller.Report.HostFinanceReportCostAnaly",
            "Controller.Report.AgentPersonAnaly", "Controller.Report.TerminalSalesDetail",
            "Controller.Report.InventoryReport", "Controller.Report.PurchaseRequestDetailReport",
            "Controller.Report.AreaStockList","Controller.Report.Turnover",
            "Controller.Report.ForwardInventory","Controller.Report.PurchaseSaleOrder",
            "Controller.Report.LocationSummary","Controller.Report.InBoundSummary",
            "Controller.Report.OutBoundSummary",
            "Controller.Report.PayBackSummary",
            "Controller.Report.TimelinessReport",
            "Controller.Report.LogisticStatusDisplayBoard",
            "Controller.Report.TempBoxupNoReport",
            "Controller.Report.TempMaterialsReport",
            "Controller.Report.PurchaseDeliveryReport",
            "Controller.Report.PurchaseDeliveryDetailReport",
            "Controller.Report.WoodenBoxReport",
            "Controller.Report.VehicleConfigList","Controller.Report.UreportClient",
            "Controller.Report.DirectOrderDeliverySchedule",
            "Controller.Report.DirectOrdersNotDeliveredReport",
            "Controller.Report.SalesTable",
            "Controller.Report.MaterialStorage4chy",
            "Controller.Report.DealerMaterialStorage4chy",
            "Controller.Report.PurchaseExecution",
            "Controller.Report.MaterialStorageWarning",
            "Controller.Report.InventoryFlowThreshold",
            "Controller.Report.ChuanTibetLineQuery",
            "Controller.Report.InventoryHealthy",
            "Controller.Report.InOutAmountReport",
            "Controller.Report.InOutCase4purTask",
            "Controller.Report.Dyutaskreport",
            "Controller.Report.KeyCatePurchaseCase",
            "Controller.Report.InventoryMaterialDetailReport",
            "Controller.Report.InventoryMoneySummaryReport",
            "Controller.Report.JckOverseaWarehouseInOutMoneyReport",
            "Controller.Report.DeliverRevokeReport",
            "Controller.Report.DeliveryNoteNoPacking",        //add by david
            "Controller.Report.SaleNoDelivery",        //add by spd
            "Controller.Report.DeliveryNoticeReport",
            "Controller.Report.PlanRequireReport",
            "Controller.Report.DeliveryNoteWarning",
            "Controller.Report.NjSaleStatisticsReport",
            "Controller.Report.PayBackLedger",
            "Controller.Report.Castament",
            "Controller.Report.Revenue", 
            "Controller.Report.Arledger",
            "Controller.Report.BarcodeUsageStatistics",
            "Controller.Report.ThreePackNotOutDetail", "Controller.Report.BoxUpReceipt", "Controller.Report.WarrantyTracking",
            "Controller.Report.AgentHistoryInventory",
            "Controller.Report.LogisticsInformationReport", //挖机-承运商万泰-物流信息查询表
            "Controller.Report.PlanDealerAccuracy", "Controller.Report.DealerInventory",
            "Controller.Report.DealerPlanDetail", "Controller.Report.DealerPlanSummary",
        ])
        .config(['$stateProvider', function ($stateProvider) {
            $stateProvider.state("app.report.deliveryNoteWarning", {
                url: "/deliveryNoteWarning",
                templateUrl: "view/report/deliveryNoteWarning.html",
                controller: "DeliveryNoteWarningCtrl",
            });

            $stateProvider.state("app.report.materialStorage", {
                url: "/materialStorage",
                templateUrl: "view/report/materialStorage.html",
                controller: "MaterialStorageCtrl",
                is18n:true
            });

            $stateProvider.state("app.report.materialStorage4chy", {
                url: "/materialStorage4chy",
                templateUrl: "view/report/materialStorage4chy.html",
                controller: "MaterialStorage4chyCtrl",
                is18n:true
            });

            $stateProvider.state("app.report.dealerMaterialStorage4chy", {
                url: "/dealerMaterialStorage4chy",
                templateUrl: "view/report/dealerMaterialStorage4chy.html",
                controller: "DealerMaterialStorage4chyCtrl",
                is18n:true
            });

            $stateProvider.state("app.report.materialStorageWarning", {
                url: "/materialStorageWarning",
                templateUrl: "view/report/materialStorageWarning.html",
                controller: "MaterialStorageWarningCtrl",
                is18n:true
            });
            $stateProvider.state("app.report.chuanTibetLineQuery", {
                url: "/chuanTibetLineQuery",
                templateUrl: "view/report/chuanTibetLineQuery.html",
                controller: "ChuanTibetLineQueryCtrl",
                is18n:true
            });

            $stateProvider.state("app.report.sapErrorList", {
                url: "/sapErrorList",
                templateUrl: "view/report/sapErrorList.html",
                controller: "SapErrorListCtrl"
            });
            $stateProvider.state("app.report.threePackNotOutDetail", {
                url: "/threePackNotOutDetail",
                templateUrl: "view/report/threePackNotOutDetail.html",
                controller: "ThreePackNotOutDetailCtrl"
            });
            $stateProvider.state("app.report.ureportClient", {
                url: "/ureportClient",
                templateUrl: "view/report/ureportClient.html",
                controller: "UreportClientCtrl"
            });

            $stateProvider.state("app.report.secondHandList", {
                url: "/secondHandList",
                templateUrl: "view/report/secondHandList.html",
                controller: "SecondHandListCtrl"
            });
            $stateProvider.state("app.report.saleOrder", {
                url: "/saleOrder",
                templateUrl: "view/report/saleOrder.html",
                controller: "SaleOrderCtrl",
                params:{
                    purchaseOrgName: ''
                }
            });
            $stateProvider.state("app.report.salesTable", {
                url: "/salesTable",
                templateUrl: "view/report/salesTable.html",
                controller: "SalesTableCtrl",
            });
            $stateProvider.state("app.report.purchaseSaleOrder", {
                url: "/purchaseSaleOrder",
                templateUrl: "view/report/purchaseSaleOrder.html",
                controller: "PurchaseSaleOrderCtrl"
            });


            $stateProvider.state("app.report.outboundReport", {
                is18n:true,
                url: "/outbound",
                templateUrl: "view/report/outbound.html",
                controller: "OutboundCtrl"
            });

            $stateProvider.state("app.report.inventoryFlow", {
                is18n: true,
                url: "/inventoryFlow",
                templateUrl: "view/report/inventoryFlow.html",
                controller: "InventoryFlowCtrl"
            });

            $stateProvider.state("app.report.inOutAmountReport", {
                url: "/inOutAmountReport",
                templateUrl: "view/report/inOutAmountReport.html",
                controller: "InOutAmountReportCtrl"
            });

            $stateProvider.state("app.report.inventoryFlowThreshold", {
                is18n: true,
                url: "/inventoryFlowThreshold",
                templateUrl: "view/report/inventoryFlowThreshold.html",
                controller: "InventoryFlowThresholdCtrl"
            });

            $stateProvider.state("app.report.inventoryHealthy", {
                is18n: true,
                url: "/inventoryHealthy",
                templateUrl: "view/report/inventoryHealthy.html",
                controller: "InventoryHealthyCtrl"
            });

            $stateProvider.state("app.report.libraryAge", {
                is18n: true,
                url: "/libraryAge",
                templateUrl: "view/report/libraryAge.html",
                controller: "LibraryAgeCtrl",
                params: {
                    backlogData: ""
                }
            });
            $stateProvider.state("app.report.productReport", {
                is18n: true,
                url: "/productReport",
                templateUrl: "view/report/productReport.html",
                controller: "ProductReportCtrl",
            });
            $stateProvider.state("app.report.boxUpStagingReport", {
                is18n: true,
                url: "/boxUpStagingReport",
                templateUrl: "view/report/boxUpStagingReport.html",
                controller: "BoxUpStagingReportCtrl",
            });

            //add by david
            $stateProvider.state("app.report.deliveryNoteNoPacking", {
                url: "/deliveryNoteNoPacking",
                templateUrl: "view/report/deliveryNoteNoPacking.html",
                controller: "DeliveryNoteNoPackingCtrl"
            });

            $stateProvider.state("app.report.saleNoDelivery", {
                url: "/saleNoDelivery",
                templateUrl: "view/report/saleNoDelivery.html",
                controller: "SaleNoDeliveryCtrl"
            });

            // end

            $stateProvider.state("app.report.missNote", {
                is18n: true,
                url: "/missNote",
                templateUrl: "view/report/missNote.html",
                controller: "MissNoteCtrl"
            });
            $stateProvider.state("app.report.planDealerAccuracy", {
                is18n: true,
                url: "/planDealerAccuracy",
                templateUrl: "view/report/planDealerAccuracy.html",
                controller: "PlanDealerAccuracyCtrl"
            });
            $stateProvider.state("app.report.dealerSale", {
                url: "/dealerSale",
                templateUrl: "view/report/dealerSale.html",
                controller: "DealerSaleCtrl"
            });

            $stateProvider.state("app.report.dealerArap", {
                url: "/dealerArap",
                templateUrl: "view/report/dealerArap.html",
                controller: "DealerArapCtrl"
            });

            $stateProvider.state("app.report.accountsReceivableStatistics", {
                url: "/accountsReceivableStatistics",
                templateUrl: "view/report/accountsReceivableStatistics.html",
                controller: "AccountsReceivableStatisticsCtrl"
            });

            $stateProvider.state("app.report.inventoryWarning", {
                is18n: true,
                url: "/inventoryWarning",
                templateUrl: "view/report/inventoryWarning.html",
                controller: "InventoryWarningCtrl"
            });

            $stateProvider.state("app.report.supplePlan", {
                url: "/supplePlan",
                templateUrl: "view/report/supplePlan.html",
                controller: "SupplePlanCtrl"
            });

            $stateProvider.state("app.report.timeAnalysis", {
                is18n: true,
                url: "/timeAnalysis",
                templateUrl: "view/report/timeAnalysis.html",
                controller: "TimeAnalysisCtrl"
            });

            $stateProvider.state("app.report.unsold", {
                url: "/unsold",
                templateUrl: "view/report/unsold.html",
                controller: "UnsoldCtrl"
            });

            $stateProvider.state("app.report.instruction", {
                url: "/instruction",
                templateUrl: "view/report/instruction.html",
                controller: "InstructionCtrl"
            });

            $stateProvider.state("app.report.dealerInOut", {
                url: "/dealerInOut",
                templateUrl: "view/report/dealerInOut.html",
                controller: "DealerInOutCtrl"
            });

            $stateProvider.state("app.report.threeReport", {
                url: "/threeReport",
                templateUrl: "view/report/threeReport.html",
                controller: "ThreeReportCtrl"
            });

            $stateProvider.state("app.report.threeStatisticsReport", {
                url: "/threeStatisticsReport",
                templateUrl: "view/report/threeStatisticsReport.html",
                controller: "ThreeStatisticsReportCtrl"
            });


            $stateProvider.state("app.report.saleCompare", {
                url: "/saleCompare",
                templateUrl: "view/report/saleCompare.html",
                controller: "SaleCompareCtrl"
            });

            $stateProvider.state("app.report.indicator", {
                url: "/indicator",
                templateUrl: "view/report/indicator.html",
                controller: "IndicatorCtrl"
            });

            $stateProvider.state("app.report.purchaseReport", {
                url: "/purchaseReport",
                templateUrl: "view/report/purchaseReport.html",
                controller: "PurchaseReportCtrl"
            });

            $stateProvider.state("app.report.purchaseExecution", {
                url: "/purchaseExecution",
                templateUrl: "view/report/purchaseExecution.html",
                controller: "PurchaseExecutionCtrl"
            });

            $stateProvider.state("app.report.inventoryOnWayReport", {
                url: "/inventoryOnWayReport",
                templateUrl: "view/report/inventoryOnWayReport.html",
                controller: "InventoryOnWayReportCtrl"
            });

            $stateProvider.state("app.report.stockAmountInfo", {
                is18n: true,
                url: "/stockAmountInfo",
                templateUrl: "view/report/stockAmount.html",
                controller: "StockAmountCtrl"
            });

            $stateProvider.state("app.report.planningAccuracy", {
                url: "/planningAccuracy",
                templateUrl: "view/report/planningAccuracy.html",
                controller: "PlanningAccuracyCtrl"
            });

            $stateProvider.state("app.report.sparePartsOrderAccuracy", {
                url: "/sparePartsOrderAccuracy",
                templateUrl: "view/report/sparePartsOrderAccuracy.html",
                controller: "SparePartsOrderAccuracyCtrl"
            });

            $stateProvider.state("app.report.agentCommodityAmountReport", {
                url: "/agentCommodityAmountReport",
                templateUrl: "view/report/agentCommodityAmountReport.html",
                controller: "AgentCommodityAmountReportCtrl"
            });

            $stateProvider.state("app.report.agentInventoryReport", {
                url: "/agentInventoryReport",
                templateUrl: "view/report/agentInventoryReport.html",
                controller: "AgentInventoryReportCtrl"
            });

            $stateProvider.state("app.report.agentTerminalMaterial", {
                url: "/agentTerminalMaterial",
                templateUrl: "view/report/agentTerminalMaterial.html",
                controller: "AgentTerminalMaterialCtrl"
            });

            $stateProvider.state("app.report.agentFinanceReportCostAnaly", {
                url: "/agentFinanceReportCostAnaly",
                templateUrl: "view/report/agentFinanceReportCostAnaly.html",
                controller: "AgentFinanceReportCostAnalyCtrl"
            });

            $stateProvider.state("app.report.hostFinanceReportCostAnaly", {
                url: "/hostFinanceReportCostAnaly",
                templateUrl: "view/report/hostFinanceReportCostAnaly.html",
                controller: "HostFinanceReportCostAnalyCtrl"
            });

            $stateProvider.state("app.report.agentTerminalOutbound", {
                url: "/agentTerminalOutbound",
                templateUrl: "view/report/agentTerminalOutbound.html",
                controller: "AgentTerminalOutboundCtrl"
            });

            $stateProvider.state("app.report.turnoverRateAnalysis", {
                url: "/turnoverRateAnalysis",
                templateUrl: "view/report/turnoverRateAnalysis.html",
                controller: "TurnoverRateAnalysisCtrl"
            });

            $stateProvider.state("app.report.procurementTimePeriod", {
                url: "/procurementTimePeriod",
                templateUrl: "view/report/procurementTimePeriod.html",
                controller: "ProcurementTimePeriodCtrl"
            });

            $stateProvider.state("app.report.purchaseAmountAnalysis", {
                url: "/purchaseAmountAnalysis",
                templateUrl: "view/report/purchaseAmountAnalysis.html",
                controller: "PurchaseAmountAnalysisCtrl"
            });

            $stateProvider.state("app.report.missingReport", {
                url: "/missingReport",
                templateUrl: "view/report/missingReport.html",
                controller: "MissingReportCtrl"
            });

            $stateProvider.state("app.report.orderSatisfyRate", {
                url: "/orderSatisfyRate",
                templateUrl: "view/report/orderSatisfyRate.html",
                controller: "OrderSatisfyRateCtrl"
            });

            $stateProvider.state("app.report.agentPersonAnaly", {
                url: "/agentPersonAnaly",
                templateUrl: "view/report/agentPersonAnaly.html",
                controller: "AgentPersonAnalyCtrl"
            });

            $stateProvider.state("app.report.terminalSalesDetail", {
                is18n:true,
                url: "/terminalSalesDetail",
                templateUrl: "view/report/terminalSalesDetail.html",
                controller: "TerminalSalesDetailCtrl"
            });
            $stateProvider.state("app.report.inventoryReport", {
                is18n:true,
                url: "/inventoryReport",
                templateUrl: "view/report/inventoryReport.html",
                controller: "InventoryReportCtrl"
            });
            $stateProvider.state("app.report.purchaseRequestDetailReport", {
                url: "/purchaseRequestDetailReport",
                templateUrl: "view/report/purchaseRequestDetailReport.html",
                controller: "PurchaseRequestDetailReportCtrl"
            });
            $stateProvider.state("app.report.areaStockList", {
                url: "/areaStockList",
                templateUrl: "view/report/areaStockList.html",
                controller: "AreaStockListCtrl"
            });
            $stateProvider.state("app.report.turnover", {
                url: "/turnover",
                templateUrl: "view/report/turnover.html",
                controller: "TurnoverCtrl"
            });
            $stateProvider.state("app.report.forwardInventory", {
                is18n:true,
                url: "/forwardInventory",
                templateUrl: "view/report/forwardInventory.html",
                controller: "ForwardInventoryCtrl"
            });

            $stateProvider.state("app.report.locationSummary", {
                url: "/locationSummary",
                templateUrl: "view/report/locationSummary.html",
                controller: "LocationSummaryCtrl"
            });
            $stateProvider.state("app.report.outBoundSummary", {
                is18n: true,
                url: "/outBoundSummary",
                templateUrl: "view/report/outBoundSummary.html",
                controller: "OutBoundSummaryCtrl"
            });
            $stateProvider.state("app.report.payBackSummary", {
                url: "/payBackSummary",
                templateUrl: "view/report/payBackSummary.html",
                controller: "PayBackSummaryCtrl"
            });
            $stateProvider.state("app.report.payBackLedger", {
                url: "/payBackLedger",
                templateUrl: "view/report/payBackLedger.html",
                controller: "PayBackLedgerCtrl"
            });
            $stateProvider.state("app.report.castament", {
                url: "/castament",
                templateUrl: "view/report/castament.html",
                controller: "CastamentCtrl"
            });
            $stateProvider.state("app.report.revenue", {
                url: "/revenue",
                templateUrl: "view/report/revenue.html",
                controller: "RevenueCtrl"
            });
            $stateProvider.state("app.report.arledger", {
                url: "/arledger",
                templateUrl: "view/report/arledger.html",
                controller: "ArledgerCtrl"
            });
            $stateProvider.state("app.report.inBoundSummary", {
                url: "/inBoundSummary",
                templateUrl: "view/report/inBoundSummary.html",
                controller: "InBoundSummaryCtrl"
            });
            $stateProvider.state("app.report.timelinessReport", {
                url: "/timelinessReport",
                templateUrl: "view/report/timelinessReport.html",
                controller: "TimelinessReportCtrl"
            });
            $stateProvider.state("app.report.logisticStatusDisplayBoard", {
                url: "/logisticStatusDisplayBoard",
                templateUrl: "view/report/logisticStatusDisplayBoard.html",
                controller: "LogisticStatusDisplayBoardCtrl"
            });
            $stateProvider.state("app.report.tempBoxupNoReport", {
                url: "/tempBoxupNoReport",
                templateUrl: "view/report/tempBoxupNoReport.html",
                controller: "TempBoxupNoReportCtrl"
            });
            $stateProvider.state("app.report.tempMaterialsReport", {
                url: "/tempMaterialsReport",
                templateUrl: "view/report/tempMaterialsReport.html",
                controller: "TempMaterialsReportCtrl"
            });
            $stateProvider.state("app.report.purchaseDeliveryReport", {
                url: "/purchaseDeliveryReport",
                templateUrl: "view/report/purchaseDeliveryReport.html",
                controller: "PurchaseDeliveryReportCtrl"
            });
            $stateProvider.state("app.report.purchaseDeliveryDetailReport", {
                url: "/purchaseDeliveryDetailReport",
                templateUrl: "view/report/purchaseDeliveryDetailReport.html",
                controller: "PurchaseDeliveryDetailReportCtrl"
            });
            $stateProvider.state("app.report.woodenBoxReport", {
                url: "/woodenBoxReport",
                templateUrl: "view/report/woodenBoxReport.html",
                controller: "WoodenBoxReportCtrl"
            });
            $stateProvider.state("app.report.vehicleConfigList", {
                url: "/vehicleConfigList",
                templateUrl: "view/report/vehicleConfigList.html",
                controller: "vehicleConfigListCtrl"
            });
            $stateProvider.state("app.report.directOrderDeliverySchedule", {
                url: "/directOrderDeliverySchedule",
                templateUrl: "view/report/directOrderDeliverySchedule.html",
                controller: "DirectOrderDeliveryScheduleCtrl"
            });
            $stateProvider.state("app.report.directOrdersNotDeliveredReport", {
                url: "/directOrdersNotDeliveredReport",
                templateUrl: "view/report/directOrdersNotDeliveredReport.html",
                controller: "DirectOrdersNotDeliveredReportCtrl"
            });
            $stateProvider.state("app.report.inOutCase4purTask", {
                url: "/inOutCase4purTask",
                templateUrl: "view/report/inOutCase4purTask.html",
                controller: "InOutCase4purTaskCtrl"
            });
            $stateProvider.state("app.report.dyutaskreport", {
                url: "/dyutaskreport",
                templateUrl: "view/report/dyutaskreport.html",
                controller: "DyutaskreportCtrl"
            });
            $stateProvider.state("app.report.keyCatePurchaseCase", {
                url: "/keyCatePurchaseCase",
                templateUrl: "view/report/keyCatePurchaseCase.html",
                controller: "KeyCatePurchaseCaseCtrl"
            });
            $stateProvider.state("app.report.inventoryMaterialDetailReport", {
                url: "/inventoryMaterialDetailReport",
                templateUrl: "view/report/inventoryMaterialDetailReport.html",
                controller: "InventoryMaterialDetailReportCtrl"
            });
            $stateProvider.state("app.report.inventoryMoneySummaryReport", {
                url: "/inventoryMoneySummaryReport",
                templateUrl: "view/report/inventoryMoneySummaryReport.html",
                controller: "InventoryMoneySummaryReportCtrl"
            });
            $stateProvider.state("app.report.jckOverseaWarehouseInOutMoneyReport", {
                url: "/jckOverseaWarehouseInOutMoneyReport",
                templateUrl: "view/report/jckOverseaWarehouseInOutMoneyReport.html",
                controller: "JckOverseaWarehouseInOutMoneyReportCtrl"
            });
            $stateProvider.state("app.report.deliverRevokeReport", {
                url: "/deliverRevokeReport",
                templateUrl: "view/report/deliverRevokeReport.html",
                controller: "DeliverRevokeReportCtrl"
            });

            $stateProvider.state("app.report.DeliveryNoticeReport", {
                url: "/deliveryNoticeReport",
                templateUrl: "view/report/deliveryNoticeReport.html",
                controller: "DeliveryNoticeReportCtrl"
            });

            $stateProvider.state("app.report.planRequire", {
                url: "/planRequireReport",
                templateUrl: "view/report/planRequireReport.html",
                controller: "PlanRequireReportCtrl"
            });

            $stateProvider.state("app.report.njSaleStatisticsReport", {
                url: "/njSaleStatisticsReport",
                templateUrl: "view/report/njSaleStatisticsReport.html",
                controller: "NjSaleStatisticsReportCtrl"
            });

            $stateProvider.state("app.report.barcodeUsageStatistics", {
                url: "/barcodeUsageStatistics",
                templateUrl: "view/report/barcodeUsageStatistics.html",
                controller: "BarcodeUsageStatisticsCtrl"
            });

            $stateProvider.state("app.report.boxUpReceipt", {
                url: "/boxUpReceipt",
                templateUrl: "view/report/boxUpReceipt.html",
                controller: "BoxUpReceiptCtrl"
            });

            $stateProvider.state("app.report.warrantyTracking", {
                url: "/warrantyTracking",
                templateUrl: "view/report/warrantyTracking.html",
                controller: "WarrantyTrackingCtrl"
            });
            
            $stateProvider.state("app.report.agentHistoryInventory", {
                url: "/agentHistoryInventory",
                templateUrl: "view/report/agentHistoryInventory.html",
                controller: "AgentHistoryInventoryCtrl"
            });
            
            $stateProvider.state("app.report.logisticsInformationReport", {
                url: "/logisticsInformationReport",
                templateUrl: "view/report/logisticsInformationReport.html",
                controller: "LogisticsInformationReportCtrl"
            });

            $stateProvider.state("app.report.dealerInventory", {
                url: "/dealerInventory",
                templateUrl: "view/report/dealerInventory.html",
                controller: "DealerInventoryCtrl"
            });

            $stateProvider.state("app.report.dealerPlanDetail", {
                url: "/dealerPlanDetail",
                templateUrl: "view/report/dealerPlanDetail.html",
                controller: "DealerPlanDetailCtrl"
            });
            $stateProvider.state("app.report.dealerPlanSummary", {
                url: "/dealerPlanSummary",
                templateUrl: "view/report/dealerPlanSummary.html",
                controller: "DealerPlanSummaryCtrl"
            });
        }]);
})(window, window.angular);
